package  
{
	/**
	 * ...
	 * @author Martina Rasch
	 */
	
	import net.flashpunk.Entity;
	import net.flashpunk.graphics.Image;
	import net.flashpunk.FP;
	import net.flashpunk.utils.Input;
	
	public class CreditsBackground extends Entity
	{
		[Embed(source = 'res/credits.png')] 
		private const CREDITS:Class;
		
		public function CreditsBackground() 
		{
			graphic = new Image(CREDITS);
		}
		
		override public function update():void {
			super.update();
			if (Input.mousePressed) {
				FP.world.remove(this);
			}
		}
		
	}

}